package com.book.system.service;

import com.book.system.commom.R;
import com.book.system.entity.User;

import javax.servlet.http.HttpSession;

/**
 * @author ：add
 * @date ：Created in 2024/4/27 12:05
 */
public interface UserService {
    /**
     * 登录
     *
     * @param user
     * @return
     */
    boolean login(User user, HttpSession session);

    /**
     *  获取菜单
     * @param flag 用户身份码
     * @return
     */
    String getMenu(Integer flag);
}
